
func void B_ENTER_ADDONWORLD_Kapitel_1()
{
	if(RavenIsDead == TRUE)
	{
		B_RemoveNpc(KDW_14030_Addon_Myxir_ADW);
	};
	if((Sklaven_weg == TRUE) && (RemoveSklaven == FALSE))
	{
		B_RemoveNpc(STRF_1118_Addon_Patrick);
		B_RemoveNpc(STRF_1119_Addon_Monty);
		B_RemoveNpc(STRF_1120_Addon_Tonak);
		B_RemoveNpc(STRF_1121_Addon_Telbor);
		B_RemoveNpc(STRF_1122_Addon_Pardos);
		RemoveSklaven = TRUE;
	};
};


var int EnterADW_Kapitel2;

func void B_ENTER_ADDONWORLD_Kapitel_2()
{
	if(EnterADW_Kapitel2 == FALSE)
	{
		EnterADW_Kapitel2 = TRUE;
	};
};


var int EnterADW_Kapitel3;

func void B_ENTER_ADDONWORLD_Kapitel_3()
{
	if(EnterADW_Kapitel3 == FALSE)
	{
		if(RavenIsDead == TRUE)
		{
			B_RemoveNpc(NONE_ADDON_112_Rhademes);
		};
		EnterADW_Kapitel3 = TRUE;
	};
};


var int EnterADW_Kapitel4;

func void B_ENTER_ADDONWORLD_Kapitel_4()
{
	if(EnterADW_Kapitel4 == FALSE)
	{
		if((RavenIsDead == TRUE) && (AWORCINVASIONSTART == FALSE))
		{
			AI_Teleport(KDW_14000_Addon_Saturas_ADW,"ADW_PORTALTEMPEL_01");
			AI_Teleport(KDW_14020_Addon_Nefarius_ADW,"ADW_PORTALTEMPEL_03B");
			AI_Teleport(KDW_14010_Addon_Cronos_ADW,"ADW_PORTALTEMPEL_03");
			AI_Teleport(KDW_14040_Addon_Riordian_ADW,"ADW_PORTALTEMPEL_02");
			AI_Teleport(KDW_14050_Addon_Merdarion_ADW,"ADW_PORTALTEMPEL_03D");
			Npc_ExchangeRoutine(KDW_14000_Addon_Saturas_ADW,"OrcInvasion");
			Npc_ExchangeRoutine(KDW_14020_Addon_Nefarius_ADW,"OrcInvasion");
			Npc_ExchangeRoutine(KDW_14010_Addon_Cronos_ADW,"OrcInvasion");
			Npc_ExchangeRoutine(KDW_14040_Addon_Riordian_ADW,"OrcInvasion");
			Npc_ExchangeRoutine(KDW_14050_Addon_Merdarion_ADW,"OrcInvasion");
		};
		if(RavenIsDead == TRUE)
		{
			Wld_InsertNpc(razor4,"ADW_CANYON_MINE1_01");
			Wld_InsertNpc(razor4,"ADW_CANYON_PATH_TO_LIBRARY_07A");
			Wld_InsertNpc(razor4,"ADW_CANYON_PATH_TO_LIBRARY_07A");
			Wld_InsertNpc(razor4,"ADW_CANYON_PATH_TO_LIBRARY_36");
			Wld_InsertNpc(razor4,"ADW_CANYON_PATH_TO_LIBRARY_36");
			Wld_InsertNpc(razor4,"ADW_CANYON_PATH_TO_MINE2_04");
			Wld_InsertNpc(razor4,"ADW_CANYON_TELEPORT_PATH_03");
			Wld_InsertNpc(razor4,"ADW_CANYON_TELEPORT_PATH_03");
			Wld_InsertNpc(razor4,"ADW_CANYON_TELEPORT_PATH_04");
			Wld_InsertNpc(razor4,"ADW_CANYON_PATH_TO_LIBRARY_40");
			Wld_InsertNpc(razor4,"ADW_CANYON_PATH_TO_LIBRARY_40");
			Wld_InsertNpc(razor4,"ADW_CANYON_PATH_TO_LIBRARY_03");
			Wld_InsertNpc(orcbiter4,"ADW_CANYON_PATH_TO_BANDITS_52");
			Wld_InsertNpc(orcbiter4,"ADW_CANYON_PATH_TO_BANDITS_52");
			Wld_InsertNpc(orcbiter4,"ADW_CANYON_PATH_TO_LIBRARY_31A");
			Wld_InsertNpc(orcbiter4,"ADW_CANYON_PATH_TO_LIBRARY_31A");
			Wld_InsertNpc(orcbiter4,"ADW_CANYON_PATH_TO_LIBRARY_31A");
			Wld_InsertNpc(blattcrawler4,"ADW_CANYON_PATH_TO_BANDITS_55");
			Wld_InsertNpc(blattcrawler4,"ADW_CANYON_PATH_TO_BANDITS_55");
			Wld_InsertNpc(shadowbeast4,"ADW_CANYON_PATH_TO_BANDITS_06E");
			Wld_InsertNpc(orcbiter4,"ADW_CANYON_PATH_TO_LIBRARY_16A");
			Wld_InsertNpc(orcbiter4,"ADW_CANYON_PATH_TO_LIBRARY_16A");
			Wld_InsertNpc(orcbiter4,"ADW_CANYON_PATH_TO_LIBRARY_16A");
			Wld_InsertNpc(orcbiter4,"ADW_CANYON_PATH_TO_LIBRARY_17");
			Wld_InsertNpc(orcbiter4,"ADW_CANYON_ORCS_09");
			Wld_InsertNpc(BlackWolf,"ADW_CANYON_PATH_TO_LIBRARY_37");
			Wld_InsertNpc(BlackWolf,"ADW_CANYON_PATH_TO_LIBRARY_37");
			Wld_InsertNpc(BlackWolf,"ADW_CANYON_PATH_TO_LIBRARY_12A");
			Wld_InsertNpc(BlackWolf,"ADW_CANYON_PATH_TO_LIBRARY_12A");
			Wld_InsertNpc(BlackWolf,"ADW_CANYON_PATH_TO_LIBRARY_12A");
			Wld_InsertNpc(BlackWolf,"ADW_CANYON_PATH_TO_LIBRARY_12A");
			Wld_InsertNpc(bloodhound4,"ADW_CANYON_PATH_TO_MINE2_09");
			Wld_InsertNpc(bloodhound4,"ADW_CANYON_PATH_TO_MINE2_09");
			Wld_InsertNpc(bloodhound4,"ADW_CANYON_PATH_TO_MINE2_06");
			Wld_InsertNpc(razor4,"ADW_CANYON_PATH_TO_BANDITS_26");
			Wld_InsertNpc(razor4,"ADW_CANYON_PATH_TO_BANDITS_26");
			Wld_InsertNpc(razor4,"ADW_CANYON_PATH_TO_BANDITS_24");
			Wld_InsertNpc(razor4,"ADW_CANYON_PATH_TO_BANDITS_66");
			Wld_InsertNpc(razor4,"ADW_CANYON_PATH_TO_BANDITS_66");
			Wld_InsertNpc(Minecrawler,"ADW_CANYON_PATH_TO_BANDITS_22");
			Wld_InsertNpc(MinecrawlerWarrior,"ADW_CANYON_PATH_TO_BANDITS_22");
			Wld_InsertNpc(Minecrawler,"ADW_CANYON_PATH_TO_BANDITS_21");
			Wld_InsertNpc(Minecrawler,"ADW_CANYON_PATH_TO_BANDITS_17");
			Wld_InsertNpc(Minecrawler,"ADW_CANYON_PATH_TO_BANDITS_17");
			Wld_InsertNpc(MinecrawlerWarrior,"ADW_CANYON_PATH_TO_BANDITS_14");
			Wld_InsertNpc(Minecrawler,"ADW_CANYON_PATH_TO_BANDITS_14");
			Wld_InsertNpc(Minecrawler,"ADW_CANYON_PATH_TO_BANDITS_62");
			Wld_InsertNpc(Minecrawler,"ADW_CANYON_PATH_TO_BANDITS_19");
			Wld_InsertNpc(blattcrawler4,"ADW_CANYON_PATH_TO_BANDITS_06");
			Wld_InsertNpc(blattcrawler4,"ADW_CANYON_PATH_TO_BANDITS_09");
			Wld_InsertNpc(MinecrawlerWarrior,"ADW_CANYON_MINE1_13");
			Wld_InsertNpc(MinecrawlerWarrior,"ADW_CANYON_MINE2_09");
			Wld_InsertNpc(MinecrawlerWarrior,"ADW_CANYON_MINE2_09");
			Wld_InsertNpc(Minecrawler,"ADW_CANYON_MINE1_10");
			Wld_InsertNpc(Minecrawler,"ADW_CANYON_MINE1_05");
			Wld_InsertNpc(blattcrawler4,"ADW_ENTRANCE_PLATEAU_08");
			Wld_InsertNpc(blattcrawler4,"ADW_ENTRANCE_2_VALLEY_05");
			Wld_InsertNpc(blattcrawler4,"ADW_ENTRANCE_2_VALLEY_05");
			Wld_InsertNpc(blattcrawler4,"ADW_ENTRANCE_2_VALLEY_05");
			Wld_InsertNpc(blattcrawler4,"ADW_ENTRANCE_2_VALLEY_02B");
			Wld_InsertNpc(blattcrawler4,"ADW_ENTRANCE_2_VALLEY_02B");
			Wld_InsertNpc(blattcrawler4,"ADW_ENTRANCE_2_VALLEY_11");
			Wld_InsertNpc(blattcrawler4,"ADW_ENTRANCE_2_VALLEY_11");
			Wld_InsertNpc(waran4,"ADW_ENTRANCE_2_VALLEY_08");
			Wld_InsertNpc(waran4,"ADW_ENTRANCE_PATH2BANDITS_05P");
			Wld_InsertNpc(waran4,"ADW_ENTRANCE_PATH2BANDITS_05P");
			Wld_InsertNpc(waran4,"ADW_ENTRANCE_PATH2BANDITS_05");
			Wld_InsertNpc(razor2,"ADW_ENTRANCE_RUIN1_01");
			Wld_InsertNpc(blattcrawler4,"ADW_ENTRANCE_RUIN1_01");
			Wld_InsertNpc(blattcrawler4,"ADW_ENTRANCE_BEHINDAKROPOLIS_04");
			Wld_InsertNpc(blattcrawler4,"ADW_ENTRANCE_BEHINDAKROPOLIS_04");
			Wld_InsertNpc(blattcrawler4,"ADW_ENTRANCE_2_PIRATECAMP_13");
			Wld_InsertNpc(blattcrawler4,"ADW_ENTRANCE_2_PIRATECAMP_13");
			Wld_InsertNpc(Gobbo_Black,"ADW_ENTRANCE_PATH2BANDITSCAVE1_05");
			Wld_InsertNpc(Gobbo_Black,"ADW_ENTRANCE_PATH2BANDITSCAVE1_06");
			Wld_InsertNpc(Gobbo_Black,"ADW_ENTRANCE_2_PIRATECAMP_05");
			Wld_InsertNpc(Gobbo_Black,"ADW_ENTRANCE_2_PIRATECAMP_05");
			Wld_InsertNpc(Gobbo_Warrior,"ADW_ENTRANCE_2_PIRATECAMP_19");
			Wld_InsertNpc(Gobbo_Black,"ADW_ENTRANCE_2_PIRATECAMP_19");
			Wld_InsertNpc(Gobbo_Black,"ADW_ENTRANCE_2_PIRATECAMP_19");
			Wld_InsertNpc(shadowbeast4,"ADW_ENTRANCE_2_PIRATECAMP_22");
			Wld_InsertNpc(Swampshark,"ADW_PATH_TO_GOLEM_05");
			Wld_InsertNpc(Swampshark,"ADW_PATH_TO_GOLEM_06");
			Wld_InsertNpc(Swampshark,"ADW_PATH_TO_GOLEM_08");
			Wld_InsertNpc(Swampshark,"ADW_SWAMP_GOLEM_02");
			Wld_InsertNpc(Swampshark,"ADW_SWAMP_GOLEM_03");
			Wld_InsertNpc(Swampshark,"ADW_SWAMP_GOLEM_04");
			Wld_InsertNpc(Gobbo_Black,"ADW_BANDIT_VP1_05");
			Wld_InsertNpc(Swampshark,"ADW_SHARK_01");
			Wld_InsertNpc(Swampshark,"ADW_SHARK_02");
			Wld_InsertNpc(Swampshark,"ADW_SHARK_03");
			Wld_InsertNpc(Swampshark,"ADW_SHARK_04");
			Wld_InsertNpc(Swampshark,"ADW_SHARK_05");
			Wld_InsertNpc(Swampshark,"ADW_SHARK_06");
			Wld_InsertNpc(Swampshark,"ADW_SHARK_07");
			Wld_InsertNpc(Swampshark,"ADW_SHARK_08");
			Wld_InsertNpc(Swampshark,"ADW_SHARK_09");
			Wld_InsertNpc(Swampshark,"ADW_SHARK_10");
			Wld_InsertNpc(Swampshark,"ADW_SWAMP_WAND_01");
			Wld_InsertNpc(swampdrone2,"ADW_SWAMP_WAND_02");
			Wld_InsertNpc(swampdrone2,"ADW_SWAMP_WAND_03");
			Wld_InsertNpc(Swampshark,"ADW_SWAMP_SHARKSTREET_02");
			Wld_InsertNpc(Swampshark,"ADW_SWAMP_SHARKSTREET_03");
			Wld_InsertNpc(Swampshark,"ADW_SWAMP_SHARKSTREET_07");
			Wld_InsertNpc(Swampshark,"ADW_SWAMP_SHARKSTREET_08");
			Wld_InsertNpc(Swampshark,"ADW_SWAMP_SHARKSTREET_09");
			Wld_InsertNpc(Swampshark,"ADW_SWAMP_SHARKSTREET_10");
			Wld_InsertNpc(alligator4,"ADW_CANYON_PATH_TO_BANDITS_01B");
			Wld_InsertNpc(alligator4,"ADW_PFUETZE_01");
			Wld_InsertNpc(alligator4,"ADW_PFUETZE_02");
			Wld_InsertNpc(alligator4,"ADW_PFUETZE_03");
			Wld_InsertNpc(alligator4,"ADW_PFUETZE_04");
			Wld_InsertNpc(Gobbo_Warrior,"ADW_BANDIT_VP1_07_D");
			Wld_InsertNpc(Gobbo_Black,"ADW_BANDIT_VP1_07_E");
			Wld_InsertNpc(Gobbo_Black,"ADW_BANDIT_VP1_07_F");
			Wld_InsertNpc(Gobbo_Black,"ADW_SWAMP_LITTLE_SEA_03_B");
			Wld_InsertNpc(Gobbo_Black,"ADW_SWAMP_09_C");
			Wld_InsertNpc(swampdrone2,"ADW_SWAMP_HOHLWEG_01");
			Wld_InsertNpc(alligator4,"ADW_SWAMP_LOCH_01");
			Wld_InsertNpc(waran4,"ADW_SWAMP_LOCH_02");
			Wld_InsertNpc(waran4,"ADW_SWAMP_LOCH_03");
			Wld_InsertNpc(alligator4,"ADW_SWAMP_LOCH_04");
			Wld_InsertNpc(Gobbo_Black,"ADW_SWAMP_08_D");
			Wld_InsertNpc(Gobbo_Black,"ADW_SWAMP_08_E");
			Wld_InsertNpc(swampdrone2,"ADW_PATH_TO_BL_10");
			Wld_InsertNpc(swampdrone2,"ADW_SWAMP_HILLS_DOWN_05");
			Wld_InsertNpc(swampdrone2,"ADW_SWAMP_14");
			Wld_InsertNpc(swampdrone2,"ADW_SWAMP_06");
			Wld_InsertNpc(swampdrone2,"ADW_SWAMP_12");
			Wld_InsertNpc(swampdrone2,"ADW_SWAMP_BF_NEST_06");
			Wld_InsertNpc(swampdrone2,"ADW_SWAMP_HOHLWEG_03");
			Wld_InsertNpc(swampdrone2,"ADW_SWAMP_HOHLWEG_04");
			Wld_InsertNpc(waran4,"ADW_SENAT_MONSTER_01");
			Wld_InsertNpc(waran4,"ADW_SENAT_MONSTER_02");
			Wld_InsertNpc(waran4,"ADW_SENAT_05");
			Wld_InsertNpc(waran4,"ADW_SENAT_05");
			Wld_InsertNpc(alligator4,"ADW_SWAMP_HILLS_DOWN_07");
			Wld_InsertNpc(alligator4,"ADW_SWAMP_HILLS_DOWN_07");
			Wld_InsertNpc(swampdrone2,"ADW_SWAMP_HILLS_DOWN_05");
			Wld_InsertNpc(swampdrone2,"ADW_SWAMP_HILLS_DOWN_03");
			Wld_InsertNpc(swampdrone2,"ADW_SWAMP_15");
			Wld_InsertNpc(alligator4,"ADW_HOHLWEG_CENTER");
			Wld_InsertNpc(alligator4,"FP_ROAM_BF_NEST_26");
			Wld_InsertNpc(alligator4,"ADW_BANDITSCAMP_RAKEPLACE_03");
			Wld_InsertNpc(swampdrone2,"ADW_CANYON_PATH_TO_BANDITS_02");
			Wld_InsertNpc(swampdrone2,"ADW_PFUETZE_02");
			Wld_InsertNpc(swampdrone2,"ADW_SWAMP_LOCH_06");
			Wld_InsertNpc(alligator4,"ADW_SWAMP_TO_BIGSEA_01");
			Wld_InsertNpc(swampdrone2,"ADW_SWAMP_HOHLWEG_05");
			Wld_InsertNpc(swampdrone2,"ADW_SWAMP_HOHLWEG_05");
			Wld_InsertNpc(alligator4,"ADW_SWAMP_07");
			Wld_InsertNpc(alligator4,"ADW_SWAMP_07");
			Wld_InsertNpc(lurker3,"ADW_PIRATECAMP_ISLE1_01");
			Wld_InsertNpc(lurker3,"ADW_PIRATECAMP_ISLE1_01");
			Wld_InsertNpc(lurker3,"ADW_PIRATECAMP_ISLE1_01");
			Wld_InsertNpc(lurker4,"ADW_PIRATECAMP_SECRETCAVE_01");
			Wld_InsertNpc(lurker4,"ADW_PIRATECAMP_SECRETCAVE_01");
			Wld_InsertNpc(Gobbo_Black,"ADW_PIRATECAMP_PLAIN_01");
			Wld_InsertNpc(Gobbo_Black,"ADW_PIRATECAMP_PLAIN_01");
			Wld_InsertNpc(Gobbo_Black,"ADW_PIRATECAMP_PLAIN_02");
			Wld_InsertNpc(waran4,"ADW_PIRATECAMP_WATERHOLE_08");
			Wld_InsertNpc(lurker3,"ADW_PIRATECAMP_WATERHOLE_04");
			Wld_InsertNpc(blattcrawler4,"ADW_PIRATECAMP_WAY_SPAWN_01");
			Wld_InsertNpc(blattcrawler4,"ADW_PIRATECAMP_WAY_SPAWN_02");
			Wld_InsertNpc(Gobbo_Warrior,"ADW_VALLEY_PATH_115_E");
			Wld_InsertNpc(Gobbo_Black,"ADW_VALLEY_PATH_003_A");
			Wld_InsertNpc(Gobbo_Warrior,"ADW_VALLEY_BIGCAVE_08");
			Wld_InsertNpc(Gobbo_Black,"ADW_VALLEY_BIGCAVE_08");
			Wld_InsertNpc(Gobbo_Black,"ADW_VALLEY_BIGCAVE_08");
			Wld_InsertNpc(Gobbo_Black,"ADW_VALLEY_BIGCAVE_08");
			Wld_InsertNpc(Gobbo_Black,"ADW_VALLEY_BIGCAVE_18");
			Wld_InsertNpc(Gobbo_Black,"ADW_VALLEY_PATH_012");
			Wld_InsertNpc(Gobbo_Warrior,"ADW_VALLEY_PATH_115_F");
			Wld_InsertNpc(Gobbo_Warrior,"ADW_VALLEY_PATH_115_F");
			Wld_InsertNpc(Gobbo_Warrior,"ADW_VALLEY_PATH_054_B");
			Wld_InsertNpc(Gobbo_Black,"ADW_VALLEY_PATH_054_B");
			Wld_InsertNpc(Gobbo_Black,"ADW_VALLEY_PATH_054_D");
			Wld_InsertNpc(Gobbo_Black,"ADW_VALLEY_PATH_054_E");
			Wld_InsertNpc(Gobbo_Warrior,"ADW_VALLEY_PATH_054_F");
			Wld_InsertNpc(Gobbo_Warrior,"ADW_VALLEY_PATH_058_CAVE_09");
			Wld_InsertNpc(Gobbo_Warrior,"ADW_VALLEY_PATH_058_CAVE_09");
			Wld_InsertNpc(Gobbo_Warrior,"ADW_VALLEY_PATH_058_CAVE_09");
			Wld_InsertNpc(dragonsnapper4,"ADW_VALLEY_PATH_020");
			Wld_InsertNpc(dragonsnapper4,"ADW_VALLEY_BIGCAVE_01");
			Wld_InsertNpc(dragonsnapper4,"ADW_VALLEY_PATH_048_A");
			Wld_InsertNpc(dragonsnapper4,"ADW_VALLEY_PATH_047_D");
			Wld_InsertNpc(dragonsnapper4,"ADW_VALLEY_PATH_047_D");
			Wld_InsertNpc(dragonsnapper4,"ADW_VALLEY_PATH_047_D");
			Wld_InsertNpc(dragonsnapper4,"ADW_VALLEY_PATH_038_E");
			Wld_InsertNpc(dragonsnapper4,"ADW_VALLEY_PATH_038_E");
			Wld_InsertNpc(dragonsnapper4,"ADW_VALLEY_PATH_038_J");
			Wld_InsertNpc(shadowbeast4,"ADW_VALLEY_PATH_029");
			Wld_InsertNpc(skeleton_warrior,"ADW_VALLEY_PATH_020_CAVE_05");
			Wld_InsertNpc(skeleton_warrior,"ADW_VALLEY_PATH_020_CAVE_05");
			Wld_InsertNpc(Scavenger_Demon,"ADW_VALLEY_PATH_032_G");
			Wld_InsertNpc(Scavenger_Demon,"ADW_VALLEY_PATH_032_G");
			Wld_InsertNpc(Scavenger_Demon,"ADW_VALLEY_PATH_032_G");
			Wld_InsertNpc(Scavenger_Demon,"ADW_VALLEY_PATH_121_A");
			Wld_InsertNpc(Scavenger_Demon,"ADW_VALLEY_PATH_121_A");
			Wld_InsertNpc(Scavenger_Demon,"ADW_VALLEY_PATH_121_A");
			Wld_InsertNpc(Scavenger_Demon,"ADW_VALLEY_PATH_120_A");
			Wld_InsertNpc(Scavenger_Demon,"ADW_VALLEY_PATH_120_A");
			Wld_InsertNpc(Scavenger_Demon,"ADW_VALLEY_PATH_120_A");
			Wld_InsertNpc(alligator4,"ADW_VALLEY_PATH_027");
			Wld_InsertNpc(alligator4,"ADW_VALLEY_PATH_045");
			Wld_InsertNpc(alligator4,"ADW_VALLEY_PATH_129_B");
			Wld_InsertNpc(alligator4,"ADW_VALLEY_PATH_129_B");
			Wld_InsertNpc(alligator4,"ADW_VALLEY_PATH_129_B");
			Wld_InsertNpc(blattcrawler4,"ADW_VALLEY_PATH_024_A");
			Wld_InsertNpc(blattcrawler4,"ADW_VALLEY_PATH_024_A");
			Wld_InsertNpc(blattcrawler4,"ADW_VALLEY_PATH_125");
			Wld_InsertNpc(blattcrawler4,"ADW_VALLEY_PATH_062");
			Wld_InsertNpc(blattcrawler4,"ADW_VALLEY_PATH_062");
			Wld_InsertNpc(blattcrawler4,"ADW_VALLEY_PATH_102_A");
			Wld_InsertNpc(blattcrawler4,"ADW_VALLEY_PATH_102_A");
			Wld_InsertNpc(Scavenger_Demon,"ADW_VALLEY_PATH_116_A");
			Wld_InsertNpc(alligator4,"ADW_VALLEY_PATH_043");
			Wld_InsertNpc(alligator4,"ADW_VALLEY_PATH_043");
			Wld_InsertNpc(blattcrawler4,"ADW_VALLEY_PATH_053");
			Wld_InsertNpc(MinecrawlerWarrior,"ADW_MINE_MC_04");
			Wld_InsertNpc(MinecrawlerWarrior,"ADW_MINE_MC_04");
			Wld_InsertNpc(MinecrawlerWarrior,"ADW_MINE_MC_03");
			Wld_InsertNpc(MinecrawlerWarrior,"ADW_MINE_MC_03");
			Wld_InsertNpc(MinecrawlerWarrior,"ADW_MINE_MC_08");
			Wld_InsertNpc(MinecrawlerWarrior,"ADW_MINE_MC_08");
			Wld_InsertNpc(MinecrawlerWarrior,"ADW_MINE_MC_07");
			Wld_InsertNpc(MinecrawlerWarrior,"ADW_MINE_MC_07");
			Wld_InsertNpc(MinecrawlerWarrior,"ADW_MINE_MC_02");
			Wld_InsertNpc(MinecrawlerWarrior,"ADW_MINE_MC_02");
		};
		Wld_InsertItem(ItSc_LightningFlash,"FP_BL_ITEM_SMITH_01");
		Wld_InsertItem(ItSc_IceWave,"FP_ITEM_BL_FISK_01");
		Wld_InsertItem(ItPl_Perm_Herb,"FP_ITEM_BL_MERCHANT_01");
		Wld_InsertItem(ItPl_Mushroom_01,"FP_ITEM_ADANOSTEMPEL_01");
		Wld_InsertItem(ItPl_Mushroom_02,"FP_ITEM_ADANOSTEMPEL_02");
		Wld_InsertItem(ItPl_Mushroom_01,"FP_ITEM_ADANOSTEMPEL_03");
		Wld_InsertItem(ItPl_Mushroom_01,"FP_ITEM_ADANOSTEMPEL_04");
		Wld_InsertItem(ItPl_Mushroom_01,"FP_ITEM_ADANOSTEMPEL_05");
		Wld_InsertItem(ItPl_Mushroom_01,"FP_ITEM_ADANOSTEMPEL_06");
		Wld_InsertItem(ItPl_Mushroom_01,"FP_ITEM_ADANOSTEMPEL_07");
		Wld_InsertItem(ItPl_Mushroom_02,"FP_ITEM_ADANOSTEMPEL_08");
		Wld_InsertItem(ItPl_Mushroom_02,"FP_ITEM_ADANOSTEMPEL_09");
		Wld_InsertItem(ItPl_Mushroom_02,"FP_ROAM_ADW_ADATMPL_ENTR_STONEGD_04");
		Wld_InsertItem(ItPl_Mushroom_01,"FP_ROAM_ADW_ADATMPL_ENTR_STONEGD_01");
		Wld_InsertItem(ItPl_Mushroom_02,"FP_ITEM_ADANOSTEMPEL_10");
		Wld_InsertItem(ItPl_Mushroom_02,"FP_ITEM_CANYON_16");
		Wld_InsertItem(ItPl_Dex_Herb_01,"FP_ITEM_CANYON_15");
		Wld_InsertItem(ItPl_Health_Herb_02,"ADW_ITEM_CANYON_TOKEN_01");
		Wld_InsertItem(ItPl_Mana_Herb_03,"FP_ROAM_MC_13");
		Wld_InsertItem(ItPl_Planeberry,"FP_ROAM_MC_03");
		Wld_InsertItem(ItMi_GoldNugget_Addon,"FP_ITEM_CANYON_12");
		Wld_InsertItem(ItPl_Speed_Herb_01,"FP_ITEM_CANYON_24");
		Wld_InsertItem(ItPl_Mushroom_02,"FP_ITEM_CANYON_23");
		Wld_InsertItem(ItPl_Mana_Herb_02,"FP_ITEM_CANYON_22");
		Wld_InsertItem(ItPl_SwampHerb,"FP_ITEM_CANYON_20");
		Wld_InsertItem(ItPl_Health_Herb_03,"FP_ITEM_CANYON_11");
		Wld_InsertItem(ItPo_Health_Addon_04,"FP_ITEM_CANYON_09");
		Wld_InsertItem(ItPl_Mushroom_02,"FP_ITEM_CANYON_10");
		Wld_InsertItem(ItPl_Mana_Herb_03,"FP_ITEM_CANYON_08");
		Wld_InsertItem(ItPl_Health_Herb_02,"FP_ITEM_CANYON_07");
		Wld_InsertItem(ItPl_Mushroom_02,"FP_ITEM_CANYON_06");
		Wld_InsertItem(ItPo_Health_03,"FP_ITEM_CANYON_05");
		Wld_InsertItem(ItMi_GoldNugget_Addon,"FP_ITEM_CANYON_01");
		Wld_InsertItem(ItSc_IceCube,"FP_ITEM_CANYON_04");
		Wld_InsertItem(ItPl_Speed_Herb_01,"FP_ITEM_ENTRANCE_02");
		Wld_InsertItem(ItFo_Addon_Rum,"FP_ITEM_ENTRANCE_01");
		Wld_InsertItem(ItPl_Perm_Herb,"FP_ITEM_ENTRANCE_11");
		Wld_InsertItem(ItPl_Planeberry,"FP_ITEM_ENTRANCE_06");
		Wld_InsertItem(ItPl_Blueplant,"FP_ROAM_SENAT_01");
		Wld_InsertItem(ItPl_Blueplant,"FP_ROAM_SENAT_04");
		Wld_InsertItem(ItPl_Blueplant,"FP_ROAM_SENAT_13");
		Wld_InsertItem(ItPl_Mana_Herb_01,"FP_ROAM_HEILER");
		Wld_InsertItem(ItSc_HarmUndead,"FP_ITEM_BANDITSCAMP_03");
		Wld_InsertItem(ItPo_Mana_Addon_04,"FP_ITEM_ENTRANCE_12");
		Wld_InsertItem(itpo_speed_02,"FP_ITEM_ENTRANCE_05");
		Wld_InsertItem(ItPl_Blueplant,"FP_ITEM_VALLEY_07");
		Wld_InsertItem(ItPl_Blueplant,"FP_ROAM_VALLEY_017");
		Wld_InsertItem(ItPl_Temp_Herb,"FP_ROAM_VALLEY_093");
		Wld_InsertItem(ItPl_Temp_Herb,"FP_ROAM_VALLEY_063");
		Wld_InsertItem(ItPl_Planeberry,"FP_ROAM_VALLEY_105");
		Wld_InsertItem(ItPl_Mushroom_01,"FP_ROAM_VALLEY_056");
		Wld_InsertItem(ItPl_Health_Herb_01,"FP_ROAM_VALLEY_038");
		Wld_InsertItem(ItPl_Health_Herb_02,"FP_ITEM_VALLEY_08");
		Wld_InsertItem(ItPl_Blueplant,"FP_ITEM_VALLEY_05");
		Wld_InsertItem(ItPl_Mana_Herb_02,"FP_ITEM_VALLEY_09");
		Wld_InsertItem(ItPl_Planeberry,"FP_ITEM_VALLEY_03");
		Wld_InsertItem(ItPl_Mushroom_01,"FP_ROAM_VALLEY_160");
		Wld_InsertItem(ItPo_Health_03,"FP_ITEM_ENTRANCE_14");
		Wld_InsertItem(ItPl_Health_Herb_03,"FP_ITEMSPAWN_WATERHOLE_01");
		Wld_InsertItem(ItPl_Mushroom_02,"FP_ITEM_SWAMP_06");
		Wld_InsertItem(ItMw_Zweihaender4,"FP_ITEM_ENTRANCE_10");
		Wld_InsertItem(ItMi_Addon_WhitePearl,"FP_ITEMSPAWN_SECRETCAVE_01");
		EnterADW_Kapitel4 = TRUE;
	};
};


var int EnterADW_Kapitel5;

func void B_ENTER_ADDONWORLD_Kapitel_5()
{
	if(EnterADW_Kapitel5 == FALSE)
	{
		if(Npc_IsDead(BDT_1097_Addon_Fisk) == FALSE)
		{
			B_RemoveNpc(BDT_1097_Addon_Fisk);
		};
		if(Npc_IsDead(BDT_1080_Addon_Tom) == FALSE)
		{
			B_RemoveNpc(BDT_1080_Addon_Tom);
		};
		if(Npc_IsDead(BDT_10014_Addon_Thorus) == FALSE)
		{
			B_RemoveNpc(BDT_10014_Addon_Thorus);
		};
		if(Npc_IsDead(BDT_1086_Addon_Scatty) == FALSE)
		{
			B_RemoveNpc(BDT_1086_Addon_Scatty);
		};
		if(Npc_IsDead(BDT_10022_Addon_Miguel) == FALSE)
		{
			B_RemoveNpc(BDT_10022_Addon_Miguel);
		};
		if(Npc_IsDead(BDT_1098_Addon_Snaf) == FALSE)
		{
			B_RemoveNpc(BDT_1098_Addon_Snaf);
		};
		EnterADW_Kapitel5 = TRUE;
	};
};


var int EnterADW_Kapitel6;

func void B_ENTER_ADDONWORLD_Kapitel_6()
{
	if(EnterADW_Kapitel6 == FALSE)
	{
		B_RemoveNpc(KDW_14040_Addon_Riordian_ADW);
		if(AWORCINVASIONSTOP == TRUE)
		{
			Npc_ExchangeRoutine(KDW_14000_Addon_Saturas_ADW,"Start");
			Npc_ExchangeRoutine(KDW_14020_Addon_Nefarius_ADW,"Start");
			Npc_ExchangeRoutine(KDW_14010_Addon_Cronos_ADW,"Start");
			Npc_ExchangeRoutine(KDW_14050_Addon_Merdarion_ADW,"Start");
		};
		if(RavenIsDead == TRUE)
		{
			if(AWORCINVASIONSTOP == TRUE)
			{
				Wld_InsertNpc(blattcrawler5,"FP_ROAM_ORKINCAMP_01");
				Wld_InsertNpc(blattcrawler5,"FP_ROAM_ORKINCAMP_02");
				Wld_InsertNpc(blattcrawler5,"FP_ROAM_ORKINCAMP_03");
				Wld_InsertNpc(blattcrawler5,"FP_ROAM_ORKINCAMP_04");
				Wld_InsertNpc(blattcrawler5,"FP_ROAM_ORKINCAMP_05");
				Wld_InsertNpc(waran4,"FP_ROAM_ORKINCAMP_06");
				Wld_InsertNpc(blattcrawler5,"FP_ROAM_ORKINCAMP_07");
				Wld_InsertNpc(blattcrawler5,"FP_ROAM_ORKINCAMP_08");
				Wld_InsertNpc(waran4,"FP_ROAM_ORKINCAMP_09");
				Wld_InsertNpc(blattcrawler5,"FP_ROAM_ORKINCAMP_10");
				Wld_InsertNpc(blattcrawler5,"FP_ROAM_ORKINCAMP_11");
				Wld_InsertNpc(waran4,"FP_ROAM_ORKINCAMP_12");
				Wld_InsertNpc(waran4,"FP_ROAM_ORKINCAMP_13");
				Wld_InsertNpc(bloodfly3,"FP_ROAM_ORKINCAMP_14");
				Wld_InsertNpc(waran4,"FP_ROAM_ORKINCAMP_15");
				Wld_InsertNpc(blattcrawler5,"FP_ROAM_ORKINCAMP_16");
				Wld_InsertNpc(blattcrawler5,"FP_ROAM_ORKINCAMP_17");
				Wld_InsertNpc(waran4,"FP_ROAM_ORKINCAMP_18");
				Wld_InsertNpc(blattcrawler5,"FP_ROAM_ORKINCAMP_19");
				Wld_InsertNpc(waran4,"FP_ROAM_ORKINCAMP_20");
				Wld_InsertNpc(blattcrawler5,"FP_ROAM_ORKINCAMP_21");
				Wld_InsertNpc(waran4,"FP_ROAM_ORKINCAMP_22");
				Wld_InsertNpc(waran4,"FP_ROAM_ORKINCAMP_23");
				Wld_InsertNpc(waran4,"FP_ROAM_ORKINCAMP_24");
				Wld_InsertNpc(waran4,"FP_ROAM_ORKINCAMP_25");
				Wld_InsertNpc(blattcrawler5,"FP_ROAM_ORKINCAMP_26");
				Wld_InsertNpc(blattcrawler5,"FP_ROAM_ORKINCAMP_27");
				Wld_InsertNpc(blattcrawler5,"FP_ROAM_ORKINCAMP_28");
				Wld_InsertNpc(blattcrawler5,"FP_ROAM_ORKINCAMP_29");
				Wld_InsertNpc(blattcrawler5,"FP_ROAM_ORKINCAMP_30");
				Wld_InsertNpc(bloodfly3,"FP_ROAM_ORKINCAMP_31");
				Wld_InsertNpc(bloodfly3,"FP_ROAM_ORKINCAMP_32");
				Wld_InsertNpc(waran4,"FP_ROAM_ORKINCAMP_33");
				Wld_InsertNpc(bloodfly3,"FP_ROAM_ORKINCAMP_34");
				Wld_InsertNpc(bloodfly3,"FP_ROAM_ORKINCAMP_35");
				Wld_InsertNpc(bloodfly3,"FP_ROAM_ORKINCAMP_36");
				Wld_InsertNpc(bloodfly3,"FP_ROAM_ORKINCAMP_37");
				Wld_InsertNpc(blattcrawler5,"FP_ROAM_ORKINCAMP_38");
				Wld_InsertNpc(blattcrawler5,"FP_ROAM_ORKINCAMP_39");
				Wld_InsertNpc(blattcrawler5,"FP_ROAM_ORKINCAMP_40");
				Wld_InsertNpc(blattcrawler5,"FP_ROAM_ORKINCAMP_41");
				Wld_InsertNpc(blattcrawler5,"FP_ROAM_ORKINCAMP_42");
				Wld_InsertNpc(waran4,"FP_ROAM_ORKINCAMP_43");
				Wld_InsertNpc(waran4,"FP_ROAM_ORKINCAMP_44");
				Wld_InsertNpc(waran4,"FP_ROAM_ORKINCAMP_45");
				Wld_InsertNpc(waran4,"FP_ROAM_ORKINCAMP_46");
				Wld_InsertNpc(blattcrawler5,"FP_ROAM_ORKINCAMP_47");
				Wld_InsertNpc(blattcrawler5,"FP_ROAM_ORKINCAMP_48");
				Wld_InsertNpc(waran4,"FP_ROAM_ORKINCAMP_49");
				Wld_InsertNpc(waran4,"FP_ROAM_ORKINCAMP_50");
				Wld_InsertNpc(bloodfly3,"FP_ROAM_ORKINCAMP_51");
				Wld_InsertNpc(bloodfly3,"FP_ROAM_ORKINCAMP_52");
				Wld_InsertNpc(waran4,"FP_ROAM_ORKINCAMP_53");
				Wld_InsertNpc(waran4,"FP_ROAM_ORKINCAMP_54");
				Wld_InsertNpc(blattcrawler5,"FP_ROAM_ORKINCAMP_55");
				Wld_InsertNpc(blattcrawler5,"FP_ROAM_ORKINCAMP_56");
				Wld_InsertNpc(blattcrawler5,"FP_ROAM_ORKINCAMP_57");
				Wld_InsertNpc(blattcrawler5,"FP_ROAM_ORKINCAMP_58");
				Wld_InsertNpc(waran4,"FP_ROAM_ORKINCAMP_59");
				Wld_InsertNpc(waran4,"FP_ROAM_ORKINCAMP_60");
			};
			Wld_InsertNpc(stonepuma3,"ADW_CANYON_MINE1_01");
			Wld_InsertNpc(stonepuma3,"ADW_CANYON_PATH_TO_LIBRARY_07A");
			Wld_InsertNpc(stonepuma3,"ADW_CANYON_PATH_TO_LIBRARY_07A");
			Wld_InsertNpc(stonepuma3,"ADW_CANYON_PATH_TO_LIBRARY_36");
			Wld_InsertNpc(stonepuma4,"ADW_CANYON_PATH_TO_LIBRARY_36");
			Wld_InsertNpc(stonepuma4,"ADW_CANYON_PATH_TO_MINE2_04");
			Wld_InsertNpc(blattcrawler5,"ADW_CANYON_TELEPORT_PATH_09");
			Wld_InsertNpc(blattcrawler5,"ADW_CANYON_TELEPORT_PATH_09");
			Wld_InsertNpc(blattcrawler5,"ADW_CANYON_TELEPORT_PATH_09");
			Wld_InsertNpc(razor5,"ADW_CANYON_TELEPORT_PATH_03");
			Wld_InsertNpc(razor5,"ADW_CANYON_TELEPORT_PATH_03");
			Wld_InsertNpc(razor5,"ADW_CANYON_TELEPORT_PATH_04");
			Wld_InsertNpc(razor5,"ADW_CANYON_PATH_TO_LIBRARY_40");
			Wld_InsertNpc(razor5,"ADW_CANYON_PATH_TO_LIBRARY_40");
			Wld_InsertNpc(razor5,"ADW_CANYON_PATH_TO_LIBRARY_03");
			Wld_InsertNpc(dragonsnapper5,"ADW_CANYON_PATH_TO_BANDITS_52");
			Wld_InsertNpc(dragonsnapper4,"ADW_CANYON_PATH_TO_BANDITS_52");
			Wld_InsertNpc(dragonsnapper5,"ADW_CANYON_PATH_TO_LIBRARY_31A");
			Wld_InsertNpc(dragonsnapper4,"ADW_CANYON_PATH_TO_LIBRARY_31A");
			Wld_InsertNpc(dragonsnapper5,"ADW_CANYON_PATH_TO_LIBRARY_31A");
			Wld_InsertNpc(blattcrawler5,"ADW_CANYON_PATH_TO_BANDITS_55");
			Wld_InsertNpc(blattcrawler5,"ADW_CANYON_PATH_TO_BANDITS_55");
			Wld_InsertNpc(shadowbeast4,"ADW_CANYON_PATH_TO_BANDITS_06E");
			Wld_InsertNpc(dragonsnapper5,"ADW_CANYON_PATH_TO_LIBRARY_16A");
			Wld_InsertNpc(dragonsnapper4,"ADW_CANYON_PATH_TO_LIBRARY_16A");
			Wld_InsertNpc(dragonsnapper5,"ADW_CANYON_PATH_TO_LIBRARY_16A");
			Wld_InsertNpc(dragonsnapper4,"ADW_CANYON_PATH_TO_LIBRARY_17");
			Wld_InsertNpc(dragonsnapper5,"ADW_CANYON_ORCS_09");
			Wld_InsertNpc(stonepuma4,"ADW_CANYON_PATH_TO_LIBRARY_37");
			Wld_InsertNpc(stonepuma4,"ADW_CANYON_PATH_TO_LIBRARY_37");
			Wld_InsertNpc(stonepuma4,"ADW_CANYON_PATH_TO_LIBRARY_12A");
			Wld_InsertNpc(stonepuma4,"ADW_CANYON_PATH_TO_LIBRARY_12A");
			Wld_InsertNpc(stonepuma4,"ADW_CANYON_PATH_TO_LIBRARY_12A");
			Wld_InsertNpc(stonepuma4,"ADW_CANYON_PATH_TO_LIBRARY_12A");
			Wld_InsertNpc(bloodhound5,"ADW_CANYON_PATH_TO_MINE2_09");
			Wld_InsertNpc(bloodhound5,"ADW_CANYON_PATH_TO_MINE2_09");
			Wld_InsertNpc(bloodhound5,"ADW_CANYON_PATH_TO_MINE2_06");
			Wld_InsertNpc(razor5,"ADW_CANYON_PATH_TO_BANDITS_26");
			Wld_InsertNpc(razor5,"ADW_CANYON_PATH_TO_BANDITS_26");
			Wld_InsertNpc(razor5,"ADW_CANYON_PATH_TO_BANDITS_24");
			Wld_InsertNpc(razor5,"ADW_CANYON_PATH_TO_BANDITS_66");
			Wld_InsertNpc(razor5,"ADW_CANYON_PATH_TO_BANDITS_66");
			Wld_InsertNpc(Minecrawler,"ADW_CANYON_PATH_TO_BANDITS_22");
			Wld_InsertNpc(MinecrawlerWarrior,"ADW_CANYON_PATH_TO_BANDITS_22");
			Wld_InsertNpc(Minecrawler,"ADW_CANYON_PATH_TO_BANDITS_21");
			Wld_InsertNpc(Minecrawler,"ADW_CANYON_PATH_TO_BANDITS_17");
			Wld_InsertNpc(Minecrawler,"ADW_CANYON_PATH_TO_BANDITS_17");
			Wld_InsertNpc(MinecrawlerWarrior,"ADW_CANYON_PATH_TO_BANDITS_14");
			Wld_InsertNpc(Minecrawler,"ADW_CANYON_PATH_TO_BANDITS_14");
			Wld_InsertNpc(Minecrawler,"ADW_CANYON_PATH_TO_BANDITS_62");
			Wld_InsertNpc(Minecrawler,"ADW_CANYON_PATH_TO_BANDITS_19");
			Wld_InsertNpc(blattcrawler5,"ADW_CANYON_PATH_TO_BANDITS_06");
			Wld_InsertNpc(blattcrawler5,"ADW_CANYON_PATH_TO_BANDITS_09");
			Wld_InsertNpc(MinecrawlerWarrior,"ADW_CANYON_MINE1_13");
			Wld_InsertNpc(MinecrawlerWarrior,"ADW_CANYON_MINE2_09");
			Wld_InsertNpc(MinecrawlerWarrior,"ADW_CANYON_MINE2_09");
			Wld_InsertNpc(Minecrawler,"ADW_CANYON_MINE1_10");
			Wld_InsertNpc(Minecrawler,"ADW_CANYON_MINE1_05");
			Wld_InsertNpc(stonepuma3,"ADW_ENTRANCE");
			Wld_InsertNpc(stonepuma3,"ADW_ENTRANCE");
			Wld_InsertNpc(stonepuma3,"ADW_ENTRANCE");
			Wld_InsertNpc(blattcrawler5,"ADW_ENTRANCE_PLATEAU_08");
			Wld_InsertNpc(blattcrawler5,"ADW_ENTRANCE_2_VALLEY_05");
			Wld_InsertNpc(blattcrawler5,"ADW_ENTRANCE_2_VALLEY_05");
			Wld_InsertNpc(blattcrawler5,"ADW_ENTRANCE_2_VALLEY_05");
			Wld_InsertNpc(blattcrawler5,"ADW_ENTRANCE_2_VALLEY_02B");
			Wld_InsertNpc(blattcrawler5,"ADW_ENTRANCE_2_VALLEY_02B");
			Wld_InsertNpc(blattcrawler5,"ADW_ENTRANCE_2_VALLEY_11");
			Wld_InsertNpc(blattcrawler5,"ADW_ENTRANCE_2_VALLEY_11");
			Wld_InsertNpc(waran4,"ADW_ENTRANCE_2_VALLEY_08");
			Wld_InsertNpc(waran4,"ADW_ENTRANCE_PATH2BANDITS_05P");
			Wld_InsertNpc(waran4,"ADW_ENTRANCE_PATH2BANDITS_05P");
			Wld_InsertNpc(bloodfly3,"ADW_ENTRANCE_PATH2BANDITS_10");
			Wld_InsertNpc(bloodfly3,"ADW_ENTRANCE_PATH2BANDITS_10");
			Wld_InsertNpc(bloodfly3,"ADW_ENTRANCE_PATH2BANDITS_03");
			Wld_InsertNpc(waran4,"ADW_ENTRANCE_PATH2BANDITS_05");
			Wld_InsertNpc(razor2,"ADW_ENTRANCE_RUIN1_01");
			Wld_InsertNpc(blattcrawler5,"ADW_ENTRANCE_RUIN1_01");
			Wld_InsertNpc(blattcrawler5,"ADW_ENTRANCE_BEHINDAKROPOLIS_04");
			Wld_InsertNpc(blattcrawler5,"ADW_ENTRANCE_BEHINDAKROPOLIS_04");
			Wld_InsertNpc(blattcrawler5,"ADW_ENTRANCE_2_PIRATECAMP_13");
			Wld_InsertNpc(blattcrawler5,"ADW_ENTRANCE_2_PIRATECAMP_13");
			Wld_InsertNpc(skeleton_warrior,"ADW_PORTALTEMPEL_08A");
			Wld_InsertNpc(skeleton_warrior,"ADW_PORTALTEMPEL_08B");
			Wld_InsertNpc(Gobbo_Black,"ADW_ENTRANCE_PATH2BANDITSCAVE1_05");
			Wld_InsertNpc(Gobbo_Black,"ADW_ENTRANCE_PATH2BANDITSCAVE1_06");
			Wld_InsertNpc(Gobbo_Black,"ADW_ENTRANCE_2_PIRATECAMP_05");
			Wld_InsertNpc(Gobbo_Black,"ADW_ENTRANCE_2_PIRATECAMP_05");
			Wld_InsertNpc(Gobbo_Warrior,"ADW_ENTRANCE_2_PIRATECAMP_19");
			Wld_InsertNpc(Gobbo_Black,"ADW_ENTRANCE_2_PIRATECAMP_19");
			Wld_InsertNpc(Gobbo_Black,"ADW_ENTRANCE_2_PIRATECAMP_19");
			Wld_InsertNpc(shadowbeast4,"ADW_ENTRANCE_2_PIRATECAMP_22");
			Wld_InsertNpc(Swampshark,"ADW_PATH_TO_GOLEM_05");
			Wld_InsertNpc(Swampshark,"ADW_PATH_TO_GOLEM_06");
			Wld_InsertNpc(Swampshark,"ADW_PATH_TO_GOLEM_08");
			Wld_InsertNpc(Swampshark,"ADW_SWAMP_GOLEM_02");
			Wld_InsertNpc(Swampshark,"ADW_SWAMP_GOLEM_03");
			Wld_InsertNpc(Swampshark,"ADW_SWAMP_GOLEM_04");
			Wld_InsertNpc(bloodfly3,"ADW_BL_FLIES_03");
			Wld_InsertNpc(bloodfly3,"ADW_BL_FLIES_04");
			Wld_InsertNpc(bloodfly3,"ADW_BL_FLIES_06");
			Wld_InsertNpc(bloodfly3,"ADW_BL_FLIES_07");
			Wld_InsertNpc(Gobbo_Black,"ADW_BANDIT_VP1_05");
			Wld_InsertNpc(Swampshark,"ADW_SHARK_01");
			Wld_InsertNpc(Swampshark,"ADW_SHARK_02");
			Wld_InsertNpc(Swampshark,"ADW_SHARK_03");
			Wld_InsertNpc(Swampshark,"ADW_SHARK_04");
			Wld_InsertNpc(Swampshark,"ADW_SHARK_05");
			Wld_InsertNpc(Swampshark,"ADW_SHARK_06");
			Wld_InsertNpc(Swampshark,"ADW_SHARK_07");
			Wld_InsertNpc(Swampshark,"ADW_SHARK_08");
			Wld_InsertNpc(Swampshark,"ADW_SHARK_09");
			Wld_InsertNpc(Swampshark,"ADW_SHARK_10");
			Wld_InsertNpc(Swampshark,"ADW_SWAMP_WAND_01");
			Wld_InsertNpc(swampdrone2,"ADW_SWAMP_WAND_02");
			Wld_InsertNpc(swampdrone2,"ADW_SWAMP_WAND_03");
			Wld_InsertNpc(Swampshark,"ADW_SWAMP_SHARKSTREET_02");
			Wld_InsertNpc(Swampshark,"ADW_SWAMP_SHARKSTREET_03");
			Wld_InsertNpc(Swampshark,"ADW_SWAMP_SHARKSTREET_07");
			Wld_InsertNpc(Swampshark,"ADW_SWAMP_SHARKSTREET_08");
			Wld_InsertNpc(Swampshark,"ADW_SWAMP_SHARKSTREET_09");
			Wld_InsertNpc(Swampshark,"ADW_SWAMP_SHARKSTREET_10");
			Wld_InsertNpc(alligator5,"ADW_CANYON_PATH_TO_BANDITS_01B");
			Wld_InsertNpc(bloodfly3,"ADW_LITTLE_HILL_03");
			Wld_InsertNpc(bloodfly3,"ADW_LITTLE_HILL_03");
			Wld_InsertNpc(bloodfly3,"ADW_LITTLE_HILL_04");
			Wld_InsertNpc(bloodfly3,"ADW_SWAMP_04");
			Wld_InsertNpc(bloodfly3,"ADW_SWAMP_04");
			Wld_InsertNpc(bloodfly3,"ADW_SWAMP_05");
			Wld_InsertNpc(bloodfly3,"ADW_SWAMP_05");
			Wld_InsertNpc(bloodfly3,"ADW_SWAMP_LITTLE_SEA_01");
			Wld_InsertNpc(bloodfly3,"ADW_SWAMP_LITTLE_SEA_01");
			Wld_InsertNpc(bloodfly3,"ADW_SWAMP_LITTLE_SEA_02");
			Wld_InsertNpc(bloodfly3,"ADW_SWAMP_LITTLE_SEA_02");
			Wld_InsertNpc(bloodfly3,"ADW_SWAMP_LITTLE_SEA_03");
			Wld_InsertNpc(bloodfly3,"ADW_SWAMP_LITTLE_SEA_03");
			Wld_InsertNpc(bloodfly3,"ADW_SWAMP_12");
			Wld_InsertNpc(bloodfly3,"ADW_SWAMP_13");
			Wld_InsertNpc(alligator5,"ADW_PFUETZE_01");
			Wld_InsertNpc(alligator5,"ADW_PFUETZE_02");
			Wld_InsertNpc(alligator5,"ADW_PFUETZE_03");
			Wld_InsertNpc(alligator5,"ADW_PFUETZE_04");
			Wld_InsertNpc(Gobbo_Warrior,"ADW_BANDIT_VP1_07_D");
			Wld_InsertNpc(Gobbo_Black,"ADW_BANDIT_VP1_07_E");
			Wld_InsertNpc(Gobbo_Black,"ADW_BANDIT_VP1_07_F");
			Wld_InsertNpc(Gobbo_Black,"ADW_SWAMP_LITTLE_SEA_03_B");
			Wld_InsertNpc(Gobbo_Black,"ADW_SWAMP_09_C");
			Wld_InsertNpc(swampdrone2,"ADW_SWAMP_HOHLWEG_01");
			Wld_InsertNpc(alligator5,"ADW_SWAMP_LOCH_01");
			Wld_InsertNpc(waran4,"ADW_SWAMP_LOCH_02");
			Wld_InsertNpc(waran4,"ADW_SWAMP_LOCH_03");
			Wld_InsertNpc(alligator5,"ADW_SWAMP_LOCH_04");
			Wld_InsertNpc(Gobbo_Black,"ADW_SWAMP_08_D");
			Wld_InsertNpc(Gobbo_Black,"ADW_SWAMP_08_E");
			Wld_InsertNpc(bloodfly3,"ADW_PATH_TO_BL_09");
			Wld_InsertNpc(swampdrone2,"ADW_PATH_TO_BL_10");
			Wld_InsertNpc(bloodfly3,"ADW_PATH_TO_BL_10");
			Wld_InsertNpc(bloodfly3,"ADW_PATH_TO_LOCH_01");
			Wld_InsertNpc(bloodfly3,"ADW_PATH_TO_LOCH_01");
			Wld_InsertNpc(swampdrone2,"ADW_SWAMP_HILLS_DOWN_05");
			Wld_InsertNpc(swampdrone2,"ADW_SWAMP_10");
			Wld_InsertNpc(swampdrone2,"ADW_SWAMP_13");
			Wld_InsertNpc(swampdrone2,"ADW_SWAMP_14");
			Wld_InsertNpc(swampdrone2,"ADW_SWAMP_06");
			Wld_InsertNpc(bloodfly3,"ADW_SWAMP_05");
			Wld_InsertNpc(swampdrone2,"ADW_SWAMP_12");
			Wld_InsertNpc(swampdrone2,"ADW_SWAMP_BF_NEST_06");
			Wld_InsertNpc(swampdrone2,"ADW_SWAMP_HOHLWEG_03");
			Wld_InsertNpc(swampdrone2,"ADW_SWAMP_HOHLWEG_04");
			Wld_InsertNpc(waran4,"ADW_SENAT_MONSTER_01");
			Wld_InsertNpc(waran4,"ADW_SENAT_MONSTER_02");
			Wld_InsertNpc(waran4,"ADW_SENAT_MONSTER_03");
			Wld_InsertNpc(waran4,"ADW_SENAT_MONSTER_04");
			Wld_InsertNpc(waran4,"ADW_SENAT_05");
			Wld_InsertNpc(waran4,"ADW_SENAT_05");
			Wld_InsertNpc(alligator5,"ADW_SWAMP_HILLS_DOWN_07");
			Wld_InsertNpc(alligator5,"ADW_SWAMP_HILLS_DOWN_07");
			Wld_InsertNpc(swampdrone2,"ADW_SWAMP_HILLS_DOWN_05");
			Wld_InsertNpc(swampdrone2,"ADW_SWAMP_HILLS_DOWN_06");
			Wld_InsertNpc(swampdrone2,"ADW_SWAMP_HILLS_DOWN_03");
			Wld_InsertNpc(swampdrone2,"ADW_SWAMP_HILLS_DOWN_03");
			Wld_InsertNpc(swampdrone2,"ADW_SWAMP_15");
			Wld_InsertNpc(alligator5,"ADW_HOHLWEG_CENTER");
			Wld_InsertNpc(alligator5,"FP_ROAM_BF_NEST_26");
			Wld_InsertNpc(alligator5,"ADW_BANDITSCAMP_RAKEPLACE_03");
			Wld_InsertNpc(swampdrone2,"ADW_CANYON_PATH_TO_BANDITS_02");
			Wld_InsertNpc(swampdrone2,"ADW_PFUETZE_02");
			Wld_InsertNpc(swampdrone2,"ADW_SWAMP_LOCH_05");
			Wld_InsertNpc(swampdrone2,"ADW_SWAMP_LOCH_06");
			Wld_InsertNpc(alligator5,"ADW_SWAMP_TO_BIGSEA_01");
			Wld_InsertNpc(alligator5,"ADW_SWAMP_TO_BIGSEA_01");
			Wld_InsertNpc(swampdrone2,"ADW_SWAMP_HOHLWEG_05");
			Wld_InsertNpc(swampdrone2,"ADW_SWAMP_HOHLWEG_05");
			Wld_InsertNpc(alligator5,"ADW_SWAMP_07");
			Wld_InsertNpc(alligator5,"ADW_SWAMP_07");
			Wld_InsertNpc(lurker5,"ADW_PIRATECAMP_ISLE1_01");
			Wld_InsertNpc(lurker5,"ADW_PIRATECAMP_ISLE1_01");
			Wld_InsertNpc(lurker5,"ADW_PIRATECAMP_ISLE1_01");
			Wld_InsertNpc(waran4,"ADW_PIRATECAMP_LONEBEACH_11");
			Wld_InsertNpc(waran4,"ADW_PIRATECAMP_LONEBEACH_12");
			Wld_InsertNpc(firewaran4,"ADW_PIRATECAMP_LONEBEACH_10");
			Wld_InsertNpc(firewaran4,"ADW_PIRATECAMP_LONEBEACH_10");
			Wld_InsertNpc(firewaran4,"DAW_PIRTECAMP_LONEBEACH_07");
			Wld_InsertNpc(firewaran4,"ADW_PIRATECAMP_LONEBEACH_08");
			Wld_InsertNpc(waran4,"ADW_PIRATECAMP_LONEBEACH_05");
			Wld_InsertNpc(waran4,"ADW_PIRATECAMP_LONEBEACH_04");
			Wld_InsertNpc(shadowbeast4,"ADW_PIRATECAMP_LONEBEACH_CAVE_03");
			Wld_InsertNpc(lurker5,"ADW_PIRATECAMP_SECRETCAVE_01");
			Wld_InsertNpc(lurker5,"ADW_PIRATECAMP_SECRETCAVE_01");
			Wld_InsertNpc(Gobbo_Black,"ADW_PIRATECAMP_PLAIN_01");
			Wld_InsertNpc(Gobbo_Black,"ADW_PIRATECAMP_PLAIN_01");
			Wld_InsertNpc(Gobbo_Black,"ADW_PIRATECAMP_PLAIN_02");
			Wld_InsertNpc(blattcrawler5,"ADW_PIRATCAMP_PLAIN_05");
			Wld_InsertNpc(blattcrawler5,"ADW_PIRATCAMP_PLAIN_05");
			Wld_InsertNpc(blattcrawler5,"ADW_PIRATCAMP_PLAIN_05");
			Wld_InsertNpc(blattcrawler5,"ADW_PIRATCAMP_PLAIN_05");
			Wld_InsertNpc(waran4,"ADW_PIRATECAMP_WATERHOLE_08");
			Wld_InsertNpc(lurker5,"ADW_PIRATECAMP_WATERHOLE_04");
			Wld_InsertNpc(blattcrawler5,"ADW_PIRATECAMP_WAY_SPAWN_01");
			Wld_InsertNpc(blattcrawler5,"ADW_PIRATECAMP_WAY_SPAWN_02");
			Wld_InsertNpc(blattcrawler5,"ADW_VALLEY_PATH_033_A");
			Wld_InsertNpc(blattcrawler5,"ADW_VALLEY_PATH_035");
			Wld_InsertNpc(blattcrawler5,"ADW_VALLEY_PATH_036");
			Wld_InsertNpc(Gobbo_Warrior,"ADW_VALLEY_PATH_115_E");
			Wld_InsertNpc(Gobbo_Black,"ADW_VALLEY_PATH_003_A");
			Wld_InsertNpc(Gobbo_Warrior,"ADW_VALLEY_BIGCAVE_08");
			Wld_InsertNpc(Gobbo_Black,"ADW_VALLEY_BIGCAVE_08");
			Wld_InsertNpc(Gobbo_Black,"ADW_VALLEY_BIGCAVE_08");
			Wld_InsertNpc(Gobbo_Black,"ADW_VALLEY_BIGCAVE_08");
			Wld_InsertNpc(Gobbo_Black,"ADW_VALLEY_BIGCAVE_18");
			Wld_InsertNpc(Gobbo_Black,"ADW_VALLEY_PATH_012");
			Wld_InsertNpc(Gobbo_Warrior,"ADW_VALLEY_PATH_115_F");
			Wld_InsertNpc(Gobbo_Warrior,"ADW_VALLEY_PATH_115_F");
			Wld_InsertNpc(Gobbo_Warrior,"ADW_VALLEY_PATH_054_B");
			Wld_InsertNpc(Gobbo_Black,"ADW_VALLEY_PATH_054_B");
			Wld_InsertNpc(Gobbo_Black,"ADW_VALLEY_PATH_054_D");
			Wld_InsertNpc(Gobbo_Black,"ADW_VALLEY_PATH_054_E");
			Wld_InsertNpc(Gobbo_Warrior,"ADW_VALLEY_PATH_054_F");
			Wld_InsertNpc(Gobbo_Warrior,"ADW_VALLEY_PATH_058_CAVE_09");
			Wld_InsertNpc(Gobbo_Warrior,"ADW_VALLEY_PATH_058_CAVE_09");
			Wld_InsertNpc(Gobbo_Warrior,"ADW_VALLEY_PATH_058_CAVE_09");
			Wld_InsertNpc(dragonsnapper4,"ADW_VALLEY_BIGCAVE_06");
			Wld_InsertNpc(dragonsnapper5,"ADW_VALLEY_BIGCAVE_06");
			Wld_InsertNpc(dragonsnapper5,"ADW_VALLEY_BIGCAVE_15");
			Wld_InsertNpc(dragonsnapper4,"ADW_VALLEY_BIGCAVE_15");
			Wld_InsertNpc(dragonsnapper5,"ADW_VALLEY_BIGCAVE_15");
			Wld_InsertNpc(dragonsnapper5,"ADW_VALLEY_PATH_110");
			Wld_InsertNpc(dragonsnapper4,"ADW_VALLEY_PATH_110");
			Wld_InsertNpc(dragonsnapper5,"ADW_VALLEY_PATH_020");
			Wld_InsertNpc(dragonsnapper5,"ADW_VALLEY_PATH_020");
			Wld_InsertNpc(dragonsnapper4,"ADW_VALLEY_BIGCAVE_01");
			Wld_InsertNpc(dragonsnapper5,"ADW_VALLEY_PATH_048_A");
			Wld_InsertNpc(dragonsnapper5,"ADW_VALLEY_PATH_048_A");
			Wld_InsertNpc(dragonsnapper4,"ADW_VALLEY_PATH_048_A");
			Wld_InsertNpc(dragonsnapper5,"ADW_VALLEY_PATH_047_D");
			Wld_InsertNpc(dragonsnapper5,"ADW_VALLEY_PATH_047_D");
			Wld_InsertNpc(dragonsnapper4,"ADW_VALLEY_PATH_047_D");
			Wld_InsertNpc(dragonsnapper5,"ADW_VALLEY_PATH_047_G");
			Wld_InsertNpc(dragonsnapper5,"ADW_VALLEY_PATH_047_G");
			Wld_InsertNpc(dragonsnapper4,"ADW_VALLEY_PATH_038_E");
			Wld_InsertNpc(dragonsnapper4,"ADW_VALLEY_PATH_038_E");
			Wld_InsertNpc(dragonsnapper5,"ADW_VALLEY_PATH_038_J");
			Wld_InsertNpc(shadowbeast4,"ADW_VALLEY_PATH_029");
			Wld_InsertNpc(skeleton_warrior,"ADW_VALLEY_PATH_020_CAVE_05");
			Wld_InsertNpc(skeleton_warrior,"ADW_VALLEY_PATH_020_CAVE_05");
			Wld_InsertNpc(Scavenger_Demon,"ADW_VALLEY_PATH_032_G");
			Wld_InsertNpc(Scavenger_Demon,"ADW_VALLEY_PATH_032_G");
			Wld_InsertNpc(Scavenger_Demon,"ADW_VALLEY_PATH_032_G");
			Wld_InsertNpc(Scavenger_Demon,"ADW_VALLEY_PATH_121_A");
			Wld_InsertNpc(Scavenger_Demon,"ADW_VALLEY_PATH_121_A");
			Wld_InsertNpc(Scavenger_Demon,"ADW_VALLEY_PATH_121_A");
			Wld_InsertNpc(Scavenger_Demon,"ADW_VALLEY_PATH_120_A");
			Wld_InsertNpc(Scavenger_Demon,"ADW_VALLEY_PATH_120_A");
			Wld_InsertNpc(Scavenger_Demon,"ADW_VALLEY_PATH_120_A");
			Wld_InsertNpc(alligator5,"ADW_VALLEY_PATH_027");
			Wld_InsertNpc(alligator5,"ADW_VALLEY_PATH_045");
			Wld_InsertNpc(alligator5,"ADW_VALLEY_PATH_129_B");
			Wld_InsertNpc(alligator5,"ADW_VALLEY_PATH_129_B");
			Wld_InsertNpc(alligator5,"ADW_VALLEY_PATH_129_B");
			Wld_InsertNpc(blattcrawler5,"ADW_VALLEY_PATH_024_A");
			Wld_InsertNpc(blattcrawler5,"ADW_VALLEY_PATH_024_A");
			Wld_InsertNpc(blattcrawler5,"ADW_VALLEY_PATH_125");
			Wld_InsertNpc(blattcrawler5,"ADW_VALLEY_PATH_062");
			Wld_InsertNpc(blattcrawler5,"ADW_VALLEY_PATH_062");
			Wld_InsertNpc(blattcrawler5,"ADW_VALLEY_PATH_102_A");
			Wld_InsertNpc(blattcrawler5,"ADW_VALLEY_PATH_102_A");
			Wld_InsertNpc(Scavenger_Demon,"ADW_VALLEY_PATH_116_A");
			Wld_InsertNpc(alligator5,"ADW_VALLEY_PATH_043");
			Wld_InsertNpc(alligator5,"ADW_VALLEY_PATH_043");
			Wld_InsertNpc(blattcrawler5,"ADW_VALLEY_PATH_053");
			Wld_InsertNpc(bloodfly3,"ADW_VALLEY_PATH_017");
			Wld_InsertNpc(bloodfly3,"ADW_VALLEY_PATH_058");
			Wld_InsertNpc(stonepuma4,"ADW_VALLEY_SHOWCASE1_02");
			Wld_InsertNpc(stonepuma4,"ADW_VALLEY_SHOWCASE1_03");
		};
		EnterADW_Kapitel6 = TRUE;
	};
};


var int enteradw_insertsouls;

func void b_enter_addonworld()
{
	B_InitNpcGlobals();
	if(Kapitel >= 1)
	{
		B_ENTER_ADDONWORLD_Kapitel_1();
	};
	if(Kapitel >= 2)
	{
		B_ENTER_ADDONWORLD_Kapitel_2();
	};
	if(Kapitel >= 3)
	{
		B_ENTER_ADDONWORLD_Kapitel_3();
	};
	if(Kapitel >= 4)
	{
		B_ENTER_ADDONWORLD_Kapitel_4();
	};
	if(Kapitel >= 5)
	{
		B_ENTER_ADDONWORLD_Kapitel_5();
	};
	if(Kapitel >= 6)
	{
		B_ENTER_ADDONWORLD_Kapitel_6();
	};
	if((FORTUNOAWFLAG == TRUE) && (FORTUNODONEALL == FALSE))
	{
		FORTUNODONEALL = TRUE;
		B_RemoveNpc(BDT_1075_Addon_Fortuno);
	};
	if((BRENDIKGOCAMP == TRUE) && (BRENDIKGOCAMPDONE == FALSE))
	{
		Npc_ExchangeRoutine(pir_6145_brendik,"GoCamp");
		AI_Teleport(pir_6145_brendik,"ADW_PIRATECAMP_BEACH_BRENDIK");
		BRENDIKGOCAMPDONE = TRUE;
	};
	if((MIS_FALKGRANDFATHERSEEK == LOG_Running) && (FINDFALKGRANDFATHERSEEK_01_DONE == TRUE) && (BENBEGINSEARCH == FALSE))
	{
		Wld_InsertItem(itmi_falkgrandfatheritem_02,"FP_AW_ITEM_FALKGFWROTE_01");
		BENBEGINSEARCH = TRUE;
	};
	if((MOVEFORCESCOMPLETE_01 == TRUE) && (MOVEFORCESKDW_PIR == FALSE))
	{
		if(KDW_JOINHAGEN == TRUE)
		{
			B_RemoveNpc(KDW_14000_Addon_Saturas_ADW);
			B_RemoveNpc(KDW_14010_Addon_Cronos_ADW);
			B_RemoveNpc(KDW_14020_Addon_Nefarius_ADW);
			B_RemoveNpc(KDW_14050_Addon_Merdarion_ADW);
		};
		if(PIR_JOINHAGEN == TRUE)
		{
			B_RemoveNpc(PIR_1320_Addon_Greg);
			B_RemoveNpc(PIR_1350_Addon_Francis);
			B_RemoveNpc(PIR_1351_Addon_Samuel);
			B_RemoveNpc(PIR_1352_Addon_AlligatorJack);
			B_RemoveNpc(PIR_1353_Addon_Morgan);
			B_RemoveNpc(PIR_1354_Addon_Henry);
			B_RemoveNpc(PIR_1355_Addon_Skip);
			B_RemoveNpc(PIR_1356_Addon_Bill);
			B_RemoveNpc(PIR_1357_Addon_Garett);
			B_RemoveNpc(PIR_1360_Addon_PIRAT);
			B_RemoveNpc(PIR_1361_Addon_PIRAT);
			B_RemoveNpc(PIR_1362_Addon_Bones);
			B_RemoveNpc(PIR_1363_Addon_PIRAT);
			B_RemoveNpc(PIR_1364_Addon_Pirat);
			B_RemoveNpc(PIR_1365_Addon_Matt);
			B_RemoveNpc(PIR_1366_Addon_Brandon);
			B_RemoveNpc(PIR_1367_Addon_Owen);
			B_RemoveNpc(PIR_1389_Addon_Tom);
			B_RemoveNpc(pir_6136_abigeil);
			B_RemoveNpc(pir_6145_brendik);
		};
		MOVEFORCESKDW_PIR = TRUE;
	};
	if((NETBEKLEADME_STEP2 == TRUE) && (ENTERADW_INSERTSOULS == FALSE))
	{
		Wld_InsertNpc(stonesoul,"STONESOUL");
		ENTERADW_INSERTSOULS = TRUE;
	};
	CurrentLevel = ADDONWORLD_ZEN;
	B_InitNpcGlobals();
};

